package com.bcu.calculus.service;

import com.bcu.calculus.entity.Message;
import com.bcu.calculus.entity.Tlist;

import java.util.List;

public interface TlistService {

    Message<?> addTlist(Tlist tlist);

    Message<?> delTlist(String tlistId);

    Message<?> updateTlist(Tlist tlist);

    Message<Tlist> selectOneTlistById(String tlistId);

    Message<List<Tlist>> selectAllTlist();

    Message<List<Tlist>> getTlistBySlistId(String slistId);

    Message<List<Tlist>> getTlistByuserType(String userType);

}
